package com.jswlw.common;

/**
 * Created by wu on 2017-12-07.
 */
public class Constants {

    public final static String CODE = "code";

    public final static String MSG = "msg";

    /**
     * 提示信息
     */
    public static final String MESSAGE = "message";

    /**
     * HTTP POST请求
     */
    public static final String POST = "POST";

    /**
     * HTTP GET请求
     */
    public static final String GET = "GET";

    /**
     * 总数
     */
    public static final String TOTAL = "total";

    /**
     * 总数
     */
    public static final String ROWS = "rows";


    /**
     * 返回客户端标识值--成功
     */
    public static final boolean TRUE = true;

    /**
     * 返回客户端标识值--错误
     */
    public static final boolean FALSE = false;

    /**
     * 结果
     */
    public static final String RESULT = "result";

    /**
     * 实体数据对象
     */
    public static final String DATA = "data";

    /**
     * 查询列表
     * 已弃用，请把对应的内容放到DATA_OBJECT中
     */
    @Deprecated
    public static final String QUERY_LIST = "aaData";

    /**
     * 登陆次数
     * 已弃用，请把对应的内容放到DATA_OBJECT中
     */
    @Deprecated
    public static final String LOGIN_COUNT = "loginCount";

    public static final String USER_SESSION = "USER_SESSION";
}
